home *** CD-ROM | disk | FTP | other *** search
- Path: news.vanderbilt.edu!saveenr
- From: saveenr@vuse.vanderbilt.edu (Saveen Reddy)
- Newsgroups: comp.lang.c++
- Subject: Re: Looking for C++ Source Formatter
- Date: 17 Apr 1996 18:44:32 GMT
- Organization: Vanderbilt University School of Engineering, Nashville, TN, USA
- Message-ID: <4l3e6g$q37@news.vanderbilt.edu>
- References: <4kcr0p$jds@arl-news-svc-2.compuserve.com> <4kjh1o$39b@masala.cc.uh.edu>
- NNTP-Posting-Host: oak.vuse.vanderbilt.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- pat neff (pmn12564@Bayou.UH.EDU) wrote:
- : 75333.2016@compuserve.com wrote:
-
- : : Hi,
-
- : : Does anyone know about a source code formatter for C++ ? Something
- : : similar to "indent" would do nicely, but, if I recall correctly, indent doesn't
- : : handle some C++ constructs (such as ::, template declarations) very well.
- : : I'm looking for something that will handle indenting, brace placement,
- : : comment placement, whitespace, etc.
-
- : : Any help would be appriciated,
- : : Steve
-
- : Nothing to add except that I have been looking for one of these suckers
- : for awhile. Does anyone have one? If not, how about the source code to indent?
-
- I located a version of indent that does do C++. It's on Simtel in the
- MSDOS collection listed under the "c" files. The files are provided
- as an msdos executable as well as source code (which compiles for
- OS/2, DOS, and Unix). The source compiled successfully for me with
- gcc under solaris.
-
- The URL for the "c" section on Simtel is :
-
- http://www.coast.net/SimTel/msdos/c.html
-
- Look for indents.zip (the source) and indentx.zip (the msdos executable).
-
- A web-based front-end to this version of indent is also available
- at
-
- http://cornelius.cc.vanderbilt.edu/Users/saveenr/AppDev/Completed/WebIndent
-
-
- -Saveen
- saveenr@acm.org
-
-